import config from "@/config"
import http from "@/utils/request"

export default {
  getTheatre: {
    url: `${config.API_URL}/cms/order/list`,
    name: "获取订单列表",
    get: async function(params){
      return await http.get(this.url,params)
    }
  },
  theatreDetail: {
    url: `${config.API_URL}/cms/order/info/`,
    name: "获取订单详情",
    get: async function(params){
      return await http.get(this.url+params)
    }
  }
}